home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Information / alt-sources-mac-digest-94-03.tx < prev    next >
Internet Message Format  |  1994-06-09  |  26KB

  1. Date: Sat, 26 Feb 1994 23:04:35 -0500
  2. From: dnebing@andy.bgsu.edu (Dave Nebinger)
  3. Subject: Alt.sources.mac digest #03-94
  4.  
  5. alt.sources.mac digest #3-94                      2/26/94
  6.  
  7. Today's Contents:
  8.  
  9.   [!] administrivia
  10.  
  11.   [*] a2hex.cpt.hqx
  12.   [*] append.cpt.hqx
  13.   [*] asciichartda.cpt.hqx
  14.   [*] cellusoft.cpt.hqx
  15.   [*] circlewdef.cpt.hqx
  16.   [*] dimtextitems.cpt.hqx
  17.   [*] dropftp.cpt.hqx
  18.   [*] graphlib.cpt.hqx
  19.   [*] morpion.cpt.hqx
  20.   [*] ovalsdoodadd.cpt.hqx
  21.   [*] readcd.cpt.hqx
  22.   [*] spritemgr.cpt.hqx
  23.   [*] ultraprng.cpt.hqx
  24.   [*] waste.cpt.hqx
  25.  
  26.   [#] 12daysoxmas-1
  27.   [#] 12daysoxmas-2
  28.   [#] afpmount
  29.   [#] bigscroll
  30.   [#] countlines.lex
  31.   [#] cstrtotype
  32.   [#] defs.h
  33.   [#] dialogfontsize
  34.   [#] drawditlitem
  35.   [#] encode-c
  36.   [#] encode-p
  37.   [#] filesystems
  38.   [#] float2fract
  39.   [#] float2price
  40.   [#] float2tex
  41.   [#] fsspecsnippets
  42.   [#] getallvols
  43.   [#] getqdglobals
  44.   [#] hash-1
  45.   [#] hash-2
  46.   [#] hash-3
  47.   [#] hash-4
  48.   [#] hash-5
  49.   [#] heapinit
  50.   [#] isfileordir
  51.   [#] jonsinitmac
  52.   [#] launchcoderes
  53.   [#] openwinds
  54.   [#] packstr
  55.   [#] pascalprintf
  56.   [#] patchtrapselect
  57.   [#] pbgetsetcatinfo
  58.   [#] printerchange
  59.   [#] pstrcpy1
  60.   [#] pstrcpy2
  61.   [#] pstrcpy3
  62.   [#] pstrcpy4
  63.   [#] randnums
  64.   [#] restart
  65.   [#] rotatestring
  66.   [#] scratchditl
  67.   [#] stackadj
  68.   [#] strings
  69.   [#] structpad
  70.   [#] text-style-res
  71.   [#] timemgr2
  72.   [#] wdefstuff
  73.   [#] whackhandle
  74.  
  75.   [!] Who's Who List
  76.  
  77.   The alt.sources.mac archive is at ftpbio.bgsu.edu
  78. (129.1.252.66) in the /ftp/pub/alt.sources.mac directory.
  79. Files listed with an [*] before them are in the main
  80. directory.  Files listed with an [#] in front of them
  81. are in the /ftp/pub/alt.sources.mac/00snippet directory.
  82. Scripts are stored in the /ftp/pub/alt.sources.mac/scripts
  83. directory.
  84.  
  85.   Also stored at the archive site are the FAQs for the
  86. Mac newsgroups in the /ftp/pub directory.  Postings to
  87. comp.sources.mac are archived in the /ftp/pub/comp.sources.mac
  88. directory.  The alt.sources.mac digests are archived in the
  89. /ftp/pub/digests directory.
  90.  
  91.   The alt.sources.mac newsgroup is for the distribution of
  92. sources only.
  93.  
  94. ************************************************************
  95.  
  96. From: dnebing@andy.bgsu.edu (Dave Nebinger)
  97. Subject: Administrivia
  98.  
  99.   Welcome to the alt.sources.mac digest.  Currently, I am
  100. the moderator of the archive.  I thought I would post this
  101. message to show everyone what has been accumulating at the
  102. archive site.
  103.  
  104.   Your contributions are highly recommended and accepted.
  105. If you don't have access to the alt.sources.mac newsgroup,
  106. you can email your contribution to me (dnebing@andy.bgsu.edu)
  107. and I will add it to the archive, or you can upload it to
  108. the /ftp/pub/incoming directory at the archive site.
  109.  
  110.   I would also recommend to those programmers posting
  111. snippets to the comp.sys.mac.* heirarchy to also crosspost
  112. them to the alt.sources.mac group so that I can make sure
  113. that it gets added to the archive.
  114.  
  115.   A couple of notes that you might want to be aware of:
  116.     1.  Been doing alot of moving with the archive lately, currently
  117.         the root for all files is /Bio Mail Server/ftp/..., but this
  118.         is only temporary.
  119.     2.  The archive has lots of Frequently Asked Questions in the
  120.         /ftp/pub/mac-faqs directory, including the round of sillyness
  121.         which encompased the FAQs-as-application phase (these files
  122.         are located in the /ftp/pub/mac-faqs/sillyness directory ;-)
  123.     3.  The debate still rages on concerning the Layer Manager
  124.         (fortunately I have been avoiding the flames ;-) but I have
  125.         not received any complaints about keeping the Layer Manager
  126.         header file in the archive, so it still remains there.
  127.     4.  The alt.sources.mac archive is going to be mirrored at
  128.         mac.archive.umich.edu (or am I mirroring them?  ;-)  Actually
  129.         I am one of the new archivists at mac.archive, and one of
  130.         the main reasons I wanted to come aboard was to get the
  131.         alt.sources.mac archive to a site that's alittle more
  132.         dependable than mine (can you say "System Error..." ;-)
  133.         so hopefully everything can get taken care of soon (I
  134.         have to do some modifications to my index files first), but
  135.         I am still planning on keeping ftpbio up and running, at
  136.         least for the short term.
  137.  
  138.   Thanks for your support, and if you have any questions,
  139. problems, or maladjustments, feel free to email me.  Also, let
  140. me know if you have any problems accessing the archive.  The only
  141. way I can fix things is if I am told... ;-)
  142.  
  143.   Dave Nebinger (dnebing@andy.bgsu.edu)
  144.  
  145. ************************************************************
  146.  
  147. From: absurd@apple.apple.com (Tim Dierks, software saboteur)
  148. Subject: Re: MPW asm->C script?
  149.  
  150. In article <1992Dec9.064929.17257@reed.edu>, bowman@reed.edu (BoBoRamDos)
  151. wrote:
  152. > Sorry, in my haste, I wasn't too clear.  I seem to recall a script to automate
  153. > the making of "inlined assembly" in MPW C, like:
  154. >
  155. > write a bit of assembler to do something small, specific, and inlineable,
  156. > like get A0, or push all the registers onto the stack, etc.
  157. >
  158. > run it through this script, which would assemble it, then dumpobj the resulting
  159. > object code, and extract the actual hex, yielding something like:
  160. >
  161. > void MyInlinedAsm() = {0x24,0x45,etc.etc.};
  162. >
  163. > Did I hallucinate this?
  164.  
  165. I think what you're talking about is called "A2Hex"; it's part of the
  166. MPW Script Tips package on the Developer CD (and on ETO, I think).
  167. Here's a copy of it; because it's relatively long for an MPW Script,
  168. I BinHexed it rather than convert all the high-bit characters to
  169. 7-bit equivalents.
  170.  
  171. It doesn't output in a "prototype" format, but it's easy to convert
  172. the output or the script to give you what you want.
  173.  
  174. Enjoy;
  175. Tim Dierks
  176.  
  177. [archived as: /ftp/pub/alt.sources.mac/a2hex.cpt.hqx]
  178. ============================================================
  179.  
  180. From: kenlong@netcom.com (Ken Long)
  181. Subject: Append-c
  182.  
  183. This is a .c file I got off Oakland's ftp, which I've gotten to run on
  184. Think C 5.0.4.
  185.  
  186. It puts up SFGetFile, propting for 'TEXT', and you select one.  Then it
  187. repeats this cycle until you select Cancel.  Each time after the first
  188. time, it copies and pastes the contents at the end of the first files.
  189. Doesn't make a new file, doesn't ask if you want to do this - it just
  190. does it.
  191.  
  192. -Ken-
  193.  
  194. [archived as: /ftp/pub/alt.sources.mac/append.cpt.hqx]
  195. ============================================================
  196.  
  197. From: kenlong@netcom.com (Ken Long)
  198. Subject: ascii_chartDA/app.-c
  199.  
  200. This is an old Mac ascii chart DA, whict I got running in Think C 5.0.42
  201. then made a slightly altered application version of it.  It puts the data
  202. in the chart by string tables - nothing fancy.
  203.  
  204. Enjoy!
  205.  
  206. -Ken-
  207.  
  208. [archived as: /ftp/pub/alt.sources.mac/asciichartda.cpt.hqx]
  209. ============================================================
  210.  
  211. From: ingemar@lysator.liu.se (Ingemar Ragnemalm)
  212. Subject: Re: Cellusoft Graf.pas
  213.  
  214. Ken Long wrote:
  215.  
  216. >Tony Small's Cellusoft Graphics Routines in Pascal.  Puts up a
  217. >window, adds a color 'PICT' for background, then animates his
  218. >"walking eyes" over it, horizontally.
  219.  
  220. Here's a repost of the package. The previous upload included objects,
  221. which made it unnecessary large, and when I tried compiling it, its
  222. memory settings were messed up. No major problems, but it's better this
  223. way. It now requires Think Pascal 4, though it's easy to re-create a
  224. v3 project if you need it.
  225.  
  226. /Ingemar Ragnemalm
  227.  
  228. [archived as: /ftp/pub/alt.sources.mac/cellusoft.cpt.hqx]
  229. ============================================================
  230.  
  231. From: kenlong@netcom.com (Ken Long)
  232. Subject: CircularWDEF-c
  233.  
  234. That's right, folks!  A round window WDEF.  Has goAway and growBox!  It's
  235. B/W, but a little creative hacking, using Infinity as a guide, coult make
  236. it into a jewel.
  237.  
  238. Probably the best use for a round window would be a splash screen, in
  239. which case a plain one, or a "dialog-looking" one would be optimum.
  240.  
  241. It would not take too much effort to modify it into the notorious
  242. "diamondWDEF" I've heard of (but not seen).
  243.  
  244. I didn't write this, nor do I recall where I got it.  but all I had was
  245. the .c file, so I neatened up the code appearencewise, build a WDEF with
  246. it, tossed in "WDEFTester" so you could easily check it out, then
  247. packaged it up for "shipping."
  248.  
  249. Enjoy!
  250.  
  251. -Ken-
  252.  
  253. [archived as: /ftp/pub/alt.sources.mac/circlewdef.cpt.hqx]
  254. ============================================================
  255.  
  256. From: egurney@vcd.hp.com (Eddy J. Gurney)
  257. Subject: Dimmable Dialog Text Items Source
  258.  
  259. Here is some pretty useful code that I'm posting with the author's
  260. (Jim Walker <walkerj@math.scarolina.edu>) permission.  It allows you
  261. to dim statText and editText items in a dialog without any extra
  262. dialog items, etc.  A demo application is included.  The code is free;
  263. author requests any updates and enhancements.  To use the "Dim_text()"
  264. function, your dialog can't be using the refCon field or QuickDraw
  265. bottleneck. (Not a big deal, IMHO).  Real "gray" is used if it's
  266. available.
  267.  
  268. There is a funny bug that I reported to Jim that turned out to be in
  269. the Dialog Manager.  If a dialog contains two or more editText items
  270. that contain more text than fits in the rect, and you force the
  271. dialog to update (by temporarily covering it with another dialog,
  272. for example) then only the item containing the insertion point will
  273. update correctly; the others will have text missing.
  274.  
  275. To see this behavior in the enclosed demo application, enter
  276. "Hello world!" in one of the editText items, dim it, and only "Hello"
  277. will be displayed (but will be dimmed!)  Un-dimming it returns it
  278. back to displaying "Hello world" (with the exclamation point being
  279. the part not fitting).  Anyone have any ideas on how to fix this?
  280.  
  281. [archived as: /ftp/pub/alt.sources.mac/dimtextitems.cpt.hqx]
  282. ============================================================
  283.  
  284. From: mxmora@unix.sri.com (Matt Mora)
  285. Subject: DropFTP
  286.  
  287. Enclosed is DropFTP and source. A drag and drop ftp program based on
  288. dropshell. FTP code was taken from Newswatcher and merged with drop shell.
  289.  
  290. Currently it sends the files as if it they are text files. If anyone has
  291. some c code for macbinary encoding I would like to see it.
  292.  
  293. Default strings are stored in STR#1000. User string are stored in the
  294. pref file with the password scrambled as in NW. Password in the
  295. dialog box is not hidden. If any strings are left empty it will
  296. bring up the dialog box before the files are sent.
  297.  
  298. Error reporting is not fully  done. It might bring up an empty dialog box
  299. on some errors.
  300.  
  301. I forgot to include a way to specify a directory but that pretty
  302. trivial and will be in the next version. So will password hidding.
  303. If all goes well so will MacBinary encoding.
  304.  
  305. I forgot to change the BNDL to include folder dropping. I think dropshell
  306. supports folder dropping.
  307.  
  308. Have fun Hacking.
  309.  
  310. Xavier
  311.  
  312. P.S. if you make any changes I would like to see them too.
  313.  
  314.  
  315. ___________________________________________________________
  316. Matthew Xavier Mora                    Matt_Mora@qm.sri.com
  317. SRI International                       mxmora@unix.sri.com
  318. 333 Ravenswood Ave                    Menlo Park, CA. 94025
  319.  
  320. [archived as: /ftp/pub/alt.sources.mac/dropftp.cpt.hqx]
  321. ============================================================
  322.  
  323. From: kenlong@netcom.com (Ken Long)
  324. Subject: GraphicLib.C
  325.  
  326. This was an occasionally requested file, in c.s.m.p, which demo's pie
  327. chart, bar chart, graph chart, etc. in Think C.  has a built library (as
  328. I recall) but also has ALL the demo .c files added to the project.  For a
  329. quick-start, you'll need to remove all but one of the files with "demo"
  330. in its name.  The lib., too, if you get multipy defined link errors.
  331. Don't know why it was shipped this way.  All I did to it was change it
  332. from compactor to Stuff It.  There's plenty of docs with it.
  333.  
  334. -Ken-
  335.  
  336. [archived as: /ftp/pub/alt.sources.mac/graphlib.cpt.hqx]
  337. ============================================================
  338.  
  339. From: pottier@trimaran.ens.fr (Francois Pottier)
  340. Subject: Re: Dark Side Programming Q
  341.  
  342. In article <2kdo80$i4p@controversy.math.lsa.umich.edu>,
  343. Geza Bohus <bohus@math.lsa.umich.edu> wrote:
  344.  
  345. >The sample fader that comes with DS 4.*
  346. >doesn't want to compile under Think C, and I can't fix it for some reason.
  347. >(I can provide details about this.) So my question is: did anyone make
  348. >a Think C compatible version of the fadershell? If so, is it possible to
  349. >have it?
  350.  
  351. Yep, I have written a sample DarkSide module for use with Think C
  352. (I used DarkSide 4.2 and Think C 5).
  353. I have rewritten FaderShell for use with Think C. The main changes
  354. were the A4/A5 stuff, and also some routines which used MPW C syntax
  355. had to be modified.
  356. The fader is called Morpion, it shows the computer playing against itself
  357. the game of Morpion (the first player which manages to align five markers
  358. on the grid wins).
  359. You can use the source code freely.
  360.  
  361. Francois Pottier.
  362. pottier@dmi.ens.fr
  363.  
  364. [archived as: /ftp/pub/alt.sources.mac/morpion.cpt.hqx]
  365. ============================================================
  366.  
  367. From: kenlong@netcom.com (Ken Long)
  368. Subject: OvalsDooDadd 1.1 dscr.
  369.  
  370. This is a Think C 5 project for the new guys.  There are actually two,
  371. here.  They are derivatives of an old 1985 MegaMax C source file called
  372. "Display" - available on Oakland's FTP.
  373.  
  374. OvalsDoodadd 1.1 put's up a splash screen in a Rect in the main window,
  375. using centered strings and various text faces and sizes for 4 seconds.
  376. Then it erases and 4 scroll bars and a button are drawn.  Menu has Apple
  377. (with about) and File with quit.
  378.  
  379. The scroll bars all start at min. and control the vertical and horizontal
  380. quanities of ovals drawn down to center, with another set for the amount
  381. of offset.
  382.  
  383. So, at max quantity and offset of one, it's solid.  It's in B/W.
  384.  
  385. The control procs are from EartPlot.
  386.  
  387. It's heavily, and entertainingly, commented.
  388.  
  389. I cleaned up the original "Display" file and put a TC 5 project to it,
  390. and it runs.  Beyond that I did little else.
  391.  
  392. You'll easily spot where the oval thing came out of it.
  393. -Ken-
  394.  
  395. [archived as: /ftp/pub/alt.sources.mac/ovalsdoodadd.cpt.hqx]
  396. ============================================================
  397.  
  398. From: isis@netcom.com (Mike Cohen)
  399. Subject: ReadCD
  400.  
  401. Here's a library of C functions for accessing ISO9660 CD ROMs. The included
  402. functions illustrate how to read raw CD data under Mac OS & A/UX and interpret
  403. the directory. Includes support for Young Minds' filename translation.
  404.  
  405.  
  406. --
  407. Mike Cohen - isis@netcom.com
  408. NewtonMail: MikeC49506 / ALink: D6734 / AOL: MikeC20
  409.  
  410. [archived as: ftp/pub/alt.sources.mac/readcd.cpt.hqx]
  411. ============================================================
  412.  
  413. From: kenlong@netcom.com (Ken Long)
  414. Subject: SpriteManager-c
  415.  
  416. This is the SpriteManager I got off AOL a couple years ago.  I added the
  417. Think C 5 project, did enough updating to get it to compile and run, but
  418. it still needs a little debugging.  It was probably a TC 4 project,
  419. originally.
  420.  
  421. Puts up two windows, side by side.  Animates an 'ICN#' in one, inverting
  422. trails as it goes.  The other one is supposed to have a drag-able sprite
  423. in it, like the demo, but doesn't work.  But HEY!  I can't do everything!
  424. Gotta save something for the downloader!
  425.  
  426. Tony Miles credited SpriteManager in his SpriteWorld documentation.
  427.  
  428. -Ken-
  429.  
  430. [archived as: ftp/pub/alt.sources.mac/spritemgr.cpt.hqx]
  431. ============================================================
  432.  
  433. From: M_P_McLaughlin%CAASD1@MWMGATE1.mitre.org
  434. Subject: Re[2]: A REALLY GOOD Random Number Generator
  435.  
  436. I worked for quite a while to write a good, fast implementation of
  437. Marsaglia's Ultra RNG.  This is a compound generator comprised of a
  438. Fibonacci generator and a feedback-shift generator and is *reportedly* the
  439. best general-purpose RNG currently available.
  440.  
  441. My library is written in Think C/Assembly for a 68020/68881 (or better).
  442. [The algorithm is very cumbersome in pure C.]
  443.  
  444. The library contains 16 functions to return random numbers of various
  445. kinds, including exponential and Gaussian variates, as well as functions to
  446. save and restore the RNG context (for repeating a sequence).  On a Mac II
  447. ci, a random Boolean takes 1.6 microseconds and a random Gaussian 50.5
  448. microseconds.
  449.  
  450. [archived as: /ftp/pub/alt.sources.mac/ultraprng.cpt.hqx]
  451. ============================================================
  452.  
  453. From: piovanel@hp4.sm.dsi.unimi.it
  454. Subject: WASTE 1.0a1.sit.hqx
  455.  
  456. This file contains version 1.0a1 of a text engine for the
  457. Macintosh, code-named WASTE, in BinHex/StuffIt form.
  458.  
  459. WASTE is a WorldScript-savvy styled TextEdit replacement
  460. which can handle text bigger than 32K.
  461. It's currently in the form of a THINK Pascal library,
  462. compatible with the MPW environment.
  463. See the docs for additional information.
  464. For comments, suggestions and bug reports, please contact:
  465.  
  466.   Marco Piovanelli (piovanel@dsi.unimi.it)
  467.  
  468. [archived as: /ftp/pub/alt.sources.mac/waste.cpt.hqx]
  469.  
  470. ************************************************************
  471.  
  472. 12daysoxmas-1   12 days of xmas program
  473.   Jim Haynes (haynes@cats.ucsc.edu)
  474.   12 days of xmas program.
  475.  
  476. 12daysoxmas-2   12 days of xmas program
  477.   Matthew E. Cross (profesor@bigwpi.wpi.edu)
  478.   Obfuscated C 12 days of xmas program.
  479.  
  480. afpmount        Mounting an AppleShare File Server
  481.   Chris Roberts (ctr@pyrite.som.cwru.edu)
  482.   C code for mounting an appleshare file server using afp
  483.   commands.
  484.  
  485. bigscroll       Algorithm for scroll bars >32k
  486.   Jon Pugh (jpugh@apple.com)
  487.   Algorithm for working with scroll bars which represent
  488.   more than 32k.
  489.  
  490. countlines.lex  Lex code for counting lines
  491.   Scott M. Silver (scott.m.silver@dartmouth.edu)
  492.   Lex code for counting lines of Think C source files.
  493.  
  494. cstrtotype      Converting a C string to an OSType
  495.   Edwin H. Watkeys III (watkeyeh@dunx1.ocs.drexel.edu)
  496.   C code to convert a C string to an OSType.
  497.  
  498. defs.h          Common definitions
  499.   Bill Hatch (bill@bts.uucp)
  500.   Bill's common header definitions.
  501.  
  502. dialogfontsize  Changing font & size of DITL resources
  503.   Leonard Rosenthol (leonardr@netcom.com)
  504.   C code demonstrating how to change the font and size for
  505.   DITL resource items, including static text items.
  506.  
  507. drawditlitem    Draw a single DITL item
  508.   John Cavallino (jcav@midway.uchicago.edu)
  509.   Pascal function for drawing a single dialog item.
  510.  
  511. encode-c        Encode a string
  512.   Gordon Couger (gcouger@olesun.okstate.edu)
  513.   C function to encode a string.
  514.  
  515. encode-p        Encode a string
  516.   Charles F. Lane (clane@csws2.ic.sunysb.edu)
  517.   Pascal routines to encrypt a string.
  518.  
  519. filesystems     FSpExchangeFiles and other file systems
  520.   Jon Wdtte (d88-jwa@mumrik.nada.kth.se)
  521.   Solution for using FSpExchangeFiles and other file systems.
  522.  
  523. float2fract     Converting from floating pt to fraction
  524.   Colin Hogben (chah@jet.uk)
  525.   C function to convert a floating point number to a
  526.   fraction.
  527.  
  528. float2price     Converting from floating pt to fraction
  529.   Alex Matulich (alex@bilver.oau.org)
  530.   C function to convert a floating point number to a
  531.   fraction.
  532.  
  533. float2tex       Convert a floating number to TeX format
  534.   Ajay Shah (ajayshah@almaak.usc.edu)
  535.   C function to convert a double to TeX format.
  536.  
  537. fsspecsnippets  Get app's FSSpec and folder's dirID from FSSpec
  538.   Grobbins (grobbins@apple.com)
  539.   C functions for getting the application's FSSpec, and also
  540.   getting the dirID of a folder from it's FSSpec.
  541.  
  542. getallvols      Getting a list of all mounted volumes
  543.   Andrew E Page (aep@world.std.com)
  544.   C function which determines the names of all mounted volumes.
  545.  
  546. getqdglobals    Getting to the QuickDraw globals from a code resource
  547.   Ivan M CaveroBelaunde (ivanski@world.std.com)
  548.   C function to get the pointer to the application's QuickDraw
  549.   globals.
  550.  
  551. hash-1          Hashing function
  552.   Schramp (jan@huet.si.hhs.nl)
  553.   C hashing function.
  554.  
  555. hash-2          Hashing function
  556.   Rene Dekker (dekker@dutiag.tudelft.nl)
  557.   C hashing function.
  558.  
  559. hash-3          Hashing function
  560.   Chris Torek (torek@horse.ee.lbl.gov)
  561.   C hashing function.
  562.  
  563. hash-4          Hashing function
  564.   Alan Braggins (alanb@sdl.mdcbbs.com)
  565.   C hashing functions.
  566.  
  567. hash-5          Hashing function
  568.   Jim Van Zandt (jrv@truth.mitre.org)
  569.   A simple C hashing macro.
  570.  
  571. heapinit        Changing the app's heap size
  572.   Ari I Haberstadt (ari@world.std.com)
  573.   C function demonstrating how to change an app's heap
  574.   partition size.
  575.  
  576. isfileordir     Is FSSpec pointing to file or dir
  577.   Ross Brown (ross@bnr.ca)
  578.   C code to determine if an FSSpec (received via Apple
  579.   Events) points to a file or a directory/volume.
  580.  
  581. jonsinitmac     Jon Wtte's InitMac routine
  582.   Matt Mora (mxmora@unix.sri.com)
  583.   C function to call of the toolbox init routines as well
  584.   as some other initialization stuff.
  585.  
  586. launchcoderes   Launching a code resource
  587.   Roger L. Cauvin (rcauvin@aatdev.uucp)
  588.   C function for launching a code resource.
  589.  
  590. openwinds       Finding the number of screens
  591.   Greg Robbins (grobbins@apple.com)
  592.   C function for determining the number of monitors
  593.   connected to a mac.
  594.  
  595. packstr         Pack strings into a 'STR#' resource
  596.   Sean J. Christ (kurisuto@chopin.udel.edu)
  597.   Pascal routines to pack strings into an 'STR#'
  598.   resource.
  599.  
  600. pascalprintf    A printf function for pascal users
  601.   Peter N. Lewis (peter@ncrpda.curtin.edu.au)
  602.   A set of pascal functions which simulate the C printf
  603.   routine.
  604.  
  605. patchtrapselect Patching a trap/selector combination
  606.   Keith Rollin (keith@taligent.com)
  607.   C/inline asm function demonstrating how to handle the patching
  608.   of a trap and selector combination.
  609.  
  610. pbgetsetcatinfo Back to back PBGetCatInfo and PBSetCatInfo calling
  611.   Cameron Esfahani (dirty@guest.apple.com)
  612.   C code demonstrating how to call PBSetCatInfo directly after
  613.   PBGetCatInfo.
  614.  
  615. printerchange   Changing between printers
  616.   Mike Russell (mgr@aggroup.aggroup.com)
  617.   C code demonstrating how to programmatically change between
  618.   printer drivers.
  619.  
  620. pstrcpy1        C pstrcpy routine
  621.   Michael Gleason (mgleason@cse.unl.edu)
  622.   C routine to copy Pascal strings.
  623.  
  624. pstrcpy2        C pstrcpy routine
  625.   Joseph A. Brownlee (jbr0@cbnews.cb.att.com)
  626.   C routine to copy Pascal strings.
  627.  
  628. pstrcpy3        C pstrcpy routine
  629.   Robert S. Mah (rmah@panix.com)
  630.   C routine to copy Pascal strings.
  631.  
  632. pstrcpy4        C pstrcpy routine
  633.   Mike Russell (mgr@aggroup.aggroup.com)
  634.   C routine to copy Pascal strings.
  635.  
  636. randnums        Random number routines
  637.   Mayan Moudgill (moudgill@cs.cornell.edu)
  638.   C functions for random numbers, including random floats,
  639.   etc.
  640.  
  641. restart         Restarting the Mac via AppleEvents
  642.   Peter N Lewis (peter@ncrpda.curtin.edu.au)
  643.   Pascal code for restarting the Mac by sending the Finder
  644.   AppleEvents.
  645.  
  646. rotatestring    Rotating a Str255
  647.   anonymous submission
  648.   C routine to rotate a Str255.
  649.  
  650. scratchditl     Building a DITL list from scratch
  651.   anonymous submission
  652.   C routines for building a dialog's DITL list from scratch.
  653.  
  654. stackadj        Adjusting an application's stack size
  655.   Robin J. Lunge (rjl1@cornell.edu)
  656.   C code demonstrating how to adjust the size of the
  657.   application's stack.
  658.  
  659. strings         Reading and writing strings
  660.   Ron Hunsinger (Ron_Hunsinger@bmug.org)
  661.   Reading and writing Str255's to/from a file.
  662.  
  663. structpad       Turning off Think-C's structure padding
  664.   Matt Slot (fprefect@engin.umich.edu)
  665.   Think-C 5.0.4 pragma for disabling structure padding.
  666.  
  667. text-style-res  Working with TEXT and styl resources
  668.   R.B. Schmunk (pcrxs@nasagiss.giss.nasa.gov)
  669.   C code demonstrating how to use TEXT and styl resources
  670.   in conjuction with a styled TE record.
  671.  
  672. timemgr2        Time Manager clock
  673.   Ari I Halberstadt (ari@world.std.com)
  674.   C functions showing how to use the time manager to
  675.   increment a counter (for timing purposes).
  676.  
  677. wdefstuff       WDEF information
  678.   Troy Gaul (t-gaul@i-link.com)
  679.   Information and code in C for WDEF creation and manipulation.
  680.  
  681. whackhandle     Handle state manipulation
  682.   Pete Gontier (gurgle@netcom.com)
  683.   C and C++ routines for working with handles; avoids HUnlock.
  684.  
  685.  
  686. ************************************************************
  687.  
  688. Who's Who in Digest #3...
  689.  
  690. The contributors to this digest are:
  691.  
  692.   Alan Braggins (alanb@sdl.mdcbbs.com)
  693.   Ross Brown (ross@bnr.ca)
  694.   Joseph A. Brownlee (jbr0@cbnews.cb.att.com)
  695.   Roger L. Cauvin (rcauvin@aatdev.uucp)
  696.   John Cavallino (jcav@midway.uchicago.edu)
  697.   Ivan M. CaveroBelaunde (ivanski@world.std.com)
  698.   Sean J. Christ (kurisuto@chopin.udel.edu)
  699.   Mike Cohen (isis@netcom.com)
  700.   Gordon Couger (gcouger@olesun.okstate.edu)
  701.   Mike Crawford (crawford@scipp.ucsc.edu)
  702.   Matthew E. Cross (profesor@bigwpi.wpi.edu)
  703.   Rene Dekker (dekker@dutiag.tudelft.nl)
  704.   Benjamin Denckla (bdenckla@husc7.harvard.edu)
  705.   Tim Dierks (absurd@apple.apple.com)
  706.   Cameron Esfahani (dirty@guest.apple.com)
  707.   Troy Gaul (t-gaul@i-link.com)
  708.   Michael Gleason (mgleason@cse.unl.edu)
  709.   Pete Gontier (gurgle@netcom.com)
  710.   Eddy J. Gurney (egurney@vcd.hp.com)
  711.   Jamal Hannah (jamal@bronze.lcs.mit.edu)
  712.   Bill Hatch (bill@bts.uucp)
  713.   Jim Haynes (haynes@cats.ucsc.edu)
  714.   Colin Hogben (chah@jet.uk)
  715.   Charles F. Lane (clane@csws2.ic.sunysb.edu)
  716.   Peter N. Lewis (peter@ncrpda.curtin.edu.au)
  717.   Ken Long (kenlong@netcom.com)
  718.   Robin J. Lunge (rjl1@cornell.edu)
  719.   Robert S. Mah (rmah@panix.com)
  720.   Alex Matulich (alex@bilver.oau.org)
  721.   Mike McLaughlin (mpmcl@mitre.org)
  722.   Matt Mora (mxmora@unix.sri.com)
  723.   Mayan Moudgill (moudgill@cs.cornell.edu)
  724.   Andrew E. Page (aep@world.std.com)
  725.   Mark Pilgrim (f8dy@netaxs.com)
  726.   Marco Piovanelli (piovanel@dsi.unimi.it)
  727.   Francois Pottier (pottier@trimaran.ens.fr)
  728.   Jon Pugh (jpugh@apple.com)
  729.   Greg Robbins (grobbins@apple.com)
  730.   Chris Roberts (ctr@pyrite.som.cwru.edu)
  731.   Mike Russell (mgr@aggroup.aggroup.com)
  732.   R. B. Schmunk (pcrxs@nasagiss.giss.nasa.gov)
  733.   Schramp (jan@huet.si.hhs.nl)
  734.   Ajay Shah (ajayshah@almaak.usc.edu)
  735.   Scott M. Silver (scott.m.silver@dartmouth.edu)
  736.   Matt Slot (fprefect@engin.umich.edu)
  737.   Chris Torek (torek@horse.ee.lbl.gov)
  738.   Jim Van Zandt (jrv@truth.mitre.org)
  739.   Edwin H. Watkeys III (watkeyeh@dunx1.ocs.drexel.edu)
  740.   Jon Wdtte (d88-jwa@mumrik.nada.kth.se)
  741.  
  742.  
  743. ============================================================
  744. Dave Nebinger                    dnebing@andy.bgsu.edu
  745. Network Manager, Biology Dept.   dnebing@opie.bgsu.edu
  746. Bowling Green State University   dnebing@bgsuopie (bitnet)
  747. Bowling Green, OH 43403          #include <std_disclaimer.h>
  748.  
  749.             *THE* alt.sources.mac supporter!
  750.  
  751.  
  752.  
  753.